NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A TB37
What is the AppendDialogItemList Function?

Q In the "AppearanceHelpers.h" file from the Appearance SDK, I see the following declaration:
     extern pascal OSErr AppendDialogItemList
               ( DialogPtr dialog, SInt16 ditlID, DITLMethod method )
               THREEWORDINLINE(0x303C, 0x0412, 0xAA68);
However, there is no documentation for this function (or even a comment!). What does it do?

A It's the Appearance-savvy equivalent to AppendDITL. The differences are [1] it takes a 'DITL' resource ID instead of a handle as the parameter describing the dialog item list to be appended, and [2] it properly appends entries from the 'dftb' resource, if any, with the same resource ID as the 'DITL.'

[Apr 12 1998]


Developer Documentation | Technical Notes | Development Kits | Sample Code